Computer Configuration > Administrative Templates > Firefox > Permissions > Virtual Reality
Both
HKLM\Software\Policies\Mozilla\Firefox\Permissions\VirtualReality
If this policy is enabled, virtual reality preferences cannot be changed by the user. If this policy is disabled or not configured, the user can change their virtual reality preferences.